import { trigger, state, style, animate, transition } from "@angular/animations";

export const cardAnim = trigger("card", [
  state('leave', style({ 'transform': 'scale(1)' })),
  state('enter', style({ 'transform': 'scale(1.1)', 'box-shadow': '3px 3px 5px 6px #ccc' })),
  transition('leave => enter', animate('.5s ease-in')),
  transition('enter => leave', animate('.5s ease-out')),
]);
